package com.google.code.opengw.server.domain;

import java.util.Arrays;


public class Publish {
	private String publishName;
	private String domainName;
	private Route[] routeList;
	
	public Publish(String publishName, String domainName, Route[] routeList) {
		this.publishName = publishName;
		this.domainName = domainName;
		this.routeList = routeList;
	}

	public String getPublishName() {
		return publishName;
	}

	public void setPublishName(String publishName) {
		this.publishName = publishName;
	}

	public String getDomainName() {
		return domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}

	public Route[] getRouteList() {
		return routeList;
	}

	public void setRouteList(Route[] routeList) {
		this.routeList = routeList;
	}

	@Override
	public String toString() {
		return "Publish [publishName=" + publishName + ", domainName="
				+ domainName + ", routeList=" + Arrays.toString(routeList)
				+ "]";
	}
	
	
	
}
